package com.guigu.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.guigu.pojo.GatherInfo;
import com.guigu.pojo.PurchaseDetailInfo;
import com.guigu.pojo.ReturnShopInfo;
import com.guigu.pojo.WarehouseInfo;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;

public interface GatherInfoService extends IService<GatherInfo> {
    Map addGatherInfoAndDetailPurchaseInfo(Integer id);

    com.guigu.service.utils.Page storableWarehouse(PurchaseDetailInfo purchaseDetailInfo,Integer pageno,Integer pagesize);

    Map changeDetailInfoState(Integer purchaseInfoId);

    Page<GatherInfo> queryAll(GatherInfo gatherInfo, Integer pageno, Integer pagesize);

    Map audit(GatherInfo gatherInfo);

    Page queryAllGatherInfo(GatherInfo gatherInfo, Integer pageno, Integer pagesize);

    Map addGatherInfoandSalesReturn(Integer id,Integer warehouseId);

    com.guigu.service.utils.Page salesReturnWarehouse(ReturnShopInfo returnShopInfo, Integer pageno,Integer pagesiz);
}
